package edu.yuhf.service;

import edu.yuhf.domain.Type;
import edu.yuhf.mapper.TypeMapper;
import edu.yuhf.service.iface.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {

    @Resource
    TypeMapper typeMapper;
    @Override
    public List<Type> getTypesAll() {
        return typeMapper.queryType();
    }
}
